package com.xuelang.pipeline.worker.client.common.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author liuyuan.ly
 * @since 2024/5/16 16:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseK8sDTO implements Serializable {
    private static final long serialVersionUID = 992783955370502880L;
    /**
     * 类型 1 默认
     */
    private String type;
    @NotEmpty(message = " config凭证不能为空")
    private String kubeConfig;
    private String token;
}
